/*
 * @Author: gk 
 * 树形弹出选择窗口
 * @Date: 2018-03-21 22:05:29 
 * @Last Modified by: gk
 * @Last Modified time: 2018-03-21 22:11:48
 */

layui.define(['laypage', 'layer', 'form'], function (exports) {
    "use strict";
    var selecttreedlg = function (options) {
        this.options = options;
    };
    selecttreedlg.prototype.init = function (elem) {
    }
    selecttreedlg.prototype.show = function () {
        var formHtml = "<div></div>";
        layer.open({
            type: 1,
            title: readonly == 'disabled' ? '查看' : (type == 'edit' ? '编辑' : '新增'),
            area: [options.width, options.height],
            content: frm.join(''),
            success: function (layero, index) {
                form.render();
                
            }
        });
    }
    exports('selecttreedlg', selecttreedlg);
});